<template>
    <view class="content">
		<view class="content_marker">点击用户名可查看其返佣明细</view>
        <tree-tu-y :serverData="serverData" @dataChange="change"></tree-tu-y>
    </view>
</template>

<script>
    import treeTuY from '../../../uni_modules/uni-tree/treeTuY.vue'
    export default {
        components: {
            treeTuY
        },
        data() {
            return {
                serverData: {
                    title: '报道新生',
                    ArrC: [{
                            title: '船舶专业群',
                            child: [{
                                title: '船舶2001班'
                            }]
                        },
                        {
                            title: '船舶专业群',
                            child: [{
                                    title: '船舶2001班'
                                },{
                                    title: '船舶2001班'
                                }
                            ]
                        }
                    ]
                }
            }
        },
        onLoad() {

        },
        methods: {
            change(res){
                console.log(res)
            }
        }
    }
</script>
<style>
	.content_marker{
		font-size: 21rpx;
		font-family: PingFang SC;
		font-weight: 400;
		color: #21201D;
		opacity: 1;
		margin-top: 21rpx;
		text-align: center;
		margin-bottom: 68rpx;
	}
</style>